﻿using System;
namespace ToolsModel
{
    /// <summary>
    /// 后台管理系统，当前登录用户
    /// </summary>
    [Serializable]
    public class AdminTicket
    {
        /// <summary>
        /// 账号Code
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 登陆名称
        /// </summary>
        public string LoginName { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 状态  0：正常1：冻结
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 性别 1男 2女 0未知
        /// </summary>
        public int? Sex { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 所属角色Codes  用 ,分隔开
        /// </summary>
        public String RoleCodes { get; set; }
    }
}
